home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group02b.txt
/
000159_icon-group-sender_Tue Dec 10 07:58:51 2002.msg
< prev
next >
Wrap
Internet Message Format
|
2003-01-02
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id gBAEwno04481
for icon-group-addresses; Tue, 10 Dec 2002 07:58:49 -0700 (MST)
Message-Id: <200212101458.gBAEwno04481@baskerville.CS.Arizona.EDU>
X-Newsreader: knews 1.0b.1
From: rtr@blueyonder.co.uk (Robby)
Subject: Re: Icon compiler
X-Newsgroups: comp.lang.icon
Date: Tue, 10 Dec 2002 12:34:17 GMT
X-Complaints-To: abuse@blueyonder.co.uk
To: icon-group@cs.arizona.edu
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
In article <3df45481$1_7@news.meganetnews.com>,
"Ladv�nszky K�roly" <aa@bb.cc> writes:
> Well ... I have this Fibonacci test for benchmarks. With MS C ++ it takes 8
> secs to calculate the result for 40 as input and for Icon it takes about 600
> secs. Now with even 3 times speed improvement, it'd still be 200 secs for
> Icon. Given that, I think it's very exaggerated to say Icon programs can be
> faster than C. However slow compared to C, I do recognise Icon's power and
> I'm considering adding it to my software toolchest.
Well, it always depends on what you're trying to achieve. I would not choose
Icon to solve a numerical problem. I would choose Icon over almost any other
choice for anything involving string manipulation and complex data structure
mapping (i.e., putting lots of stuff into a set and then looking at what is
in there).
Icon, as far as my experience goes, excells at any kind of string scanning
operation. It even remains readable, which I can't say for any of my Perl
programs. And it is soooo much more powerful than regular expressions.
Robby
--
It's just zeros and ones, it cannot be hard.